<?php
include( 'inc/error.inc.php' );
$feedback = Array();

if( isset( $_GET['action'] ) )
{
    switch( $_GET['action'] )
    {
        case 'insert_info':
            include( 'inc/addmovie.inc.php' );
            break;

    }
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>FDB - index [BETA 0.2.0b | 09-03-09]</title>
		<link rel="stylesheet" href="css/general.css" type="text/css" media="screen" />
	</head>
	<body>
	<form action="?action=insert_info" method="post">
		<input name="u_name" /> <span class="info">Name of the movie <span class="requierd">(Requierd)</span></span><br />
		<input name="u_genr" /> <span class="info">Genre(s) of the movie <span class="requierd">(Requierd)</span></span><br />
		<input name="u_imdb" /> <span class="info">Full IMDB link to the movie</span><br />
		<input name="u_amov" /> <span class="info">Full Allmovie link to the movie</span><br />
		<input name="u_wiki" /> <span class="info">Full Wikipedia link to the movie</span><br />
		<input name="u_moco" /> <span class="info">Full Movie.com link to the movie</span><br />
		<input name="u_msnm" /> <span class="info">Full Movieweb link to the movie</span><br />
		<input name="local_url" /> <span class="info">Local movie URL (Samba) <span class="requierd">(Requierd)</span></span><br />
		<input name="local_img" /> <span class="info">Local movie poster URL (image) <span class="requierd">(Requierd)</span></span><br />
		<input type="submit" value="Add" />
	</form>
	<span class="error"><?php echo getFeedback( $feedback ); ?></span>
	</body>
</html>
